<div class="wd-demo-container ml" id="employee_add_container">
    <div class="page-header">
        <ol class="breadcrumb">
            <li>
                <a data-pjax="/workshop?key=employee_manage" href="javascript:;">员工管理</a>
            </li>
            <li class="active page-title">新建员工</li>
        </ol>
    </div>
    <div class="container-fluid page-content s-height">
        <div class="widget ml">
            <form autocomplete="off" class="form-horizontal ml" id="employee_add_form">
                <input name="userId" type="hidden" value="700008" />
                <div class="s-height cl" data-plugin="niceScroll">
                    <div class="col-md-8">
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><i class="star"></i>姓名：</label>
                            <div class="col-sm-9">
                                <input class="form-control" data-m="请填写员工名称,需要在1到11个字之间" data-v="notempty,len:1-11" name="name" type="text" value="test" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><i class="star"></i>用户名：</label>
                            <div class="col-sm-9">
                                <input class="form-control" data-m="请填写用户名,需要在1到30个字之间" data-v="notempty,len:1-30" name="userName" type="text" value="test" />
                            </div>
                        </div>
                        <div class="form-group d-password">
                            <label class="col-sm-3 control-label"><i class="star"></i>密码：</label>
                            <div class="col-sm-9">
                                <input class="form-control" data-m="请输入密码,密码由6-15位半角字符（英文字母、数字、符号~!@#$%^&*._-）组成，区分大小写" data-v="notempty,len:6-15" name="password" onfocus="this.type='password'" type="type" value="E10ADC3949BA59ABBE56E057F20F883E" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><i class="star"></i>部门：</label>
                            <div class="col-sm-9">
                                <input class="form-control" data-m="请选择部门" data-v="notempty" name="departmentName" readonly="" type="text" value="技术部" />
                                <input class="form-control" name="deptId" readonly="" type="hidden" value="280000" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><i class="star"></i>邮箱：</label>
                            <div class="col-sm-9">
                                <input class="form-control" data-m="请输入邮箱,邮箱格式错误,最多60个字" data-v="notempty,email,len:1-60" name="email" type="text" value="11@qq.com" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><i class="star"></i>状态：</label>
                            <div class="col-sm-9">
                                <div class="radio-custom radio-primary">
                                    <input checked="checked" id="inputRadiosUnchecked1" name="status" type="radio" value="1" />
                                    <label for="inputRadiosUnchecked1">启用</label>
                                </div>
                                <div class="radio-custom radio-primary">
                                    <input id="inputRadiosUnchecked0" name="status" type="radio" value="0" />
                                    <label for="inputRadiosUnchecked0">停用</label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色：</label>
                            <div class="col-sm-9">
                                <label class="row-checkbox" for="role-340009">
                                    <input class="icheckbox-primary" data-checkbox-class="icheckbox_flat-blue" data-plugin="iCheck" name="roleIds[]" type="checkbox" id="role-340009" value="340009" />
                                    <label>超级管理员</label>
                                </label>
                                <label class="row-checkbox" for="role-400000">
                                    <input class="icheckbox-primary" data-checkbox-class="icheckbox_flat-blue" data-plugin="iCheck" name="roleIds[]" type="checkbox" id="role-400000" value="400000" />
                                    <label>系统管理</label>
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="text-right footer" style="padding: 20px 0">
                    <button class="btn btn-default" data-type="goback" id="cancel-btn" type="button">取消</button>
                    <button class="btn btn-primary" id="validateButton" type="submit">提交</button>
                </div>
            </form>
        </div>
    </div>
</div>
<div id="selected_employee_content">
    <form class="form-horizontal ls_form" id="selected_employee_form">
        <div class="ml" id="selected_employee_container"></div>
    </form>
</div>
<script>
var departmentTree = {'attributes':null,'checked':true,'children':[{'attributes':null,'checked':false,'children':[],'hasChildren':false,'hasParent':false,'id':'520007','parentId':'0','state':{'opened':true},'text':'\u4EA7\u54C1'},{'attributes':null,'checked':false,'children':[],'hasChildren':false,'hasParent':false,'id':'280000','parentId':'0','state':{'opened':true},'text':'\u6280\u672F\u90E8'}],'hasChildren':true,'hasParent':false,'id':'-1','parentId':'','state':{'opened':true},'text':'\u9876\u7EA7\u8282\u70B9'};
var userVO = {'createTime':'2018-03-30T16:29:49.000+08:00','departmentName':'\u6280\u672F\u90E8','deptId':280000,'email':'11@qq.com','mobile':null,'name':'test','password':'E10ADC3949BA59ABBE56E057F20F883E','roleIds':[340009,400000],'status':1,'statusStr':'\u542F\u7528','userId':700008,'userName':'test'};
</script>
<script src="../static/modules/employee_manage/employee_add.js"></script>